package com.lzy.cloud.shop.remote;

import com.lzy.framework.core.output.Result;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "lzy-cloud-base")
public interface BaseApi {

    /**
     * 根据shopId获取营业执照
     *
     * @param sourceId
     * @return
     */
    @RequestMapping(value = "/licence/detail/one/{sourceId}")
    Result selectBusinessLicence(@PathVariable("sourceId") Long sourceId);

}
